package com.aode.login.service;

import com.aode.common.bean.response.User;
import com.aode.common.bean.web.Result;
import com.aode.common.url.UrlGather;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface UserService {
    @POST(UrlGather.LOGIN_URL)
    Observable<Result<User>> login(@Body RequestBody requestBody);
}
